package com.wtwd.campus.h5_manager.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wtwd.campus.h5_manager.entity.DeviceLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author mjy
 * @since 2022-03-14
 */
@Mapper
public interface DeviceLogMapper extends BaseMapper<DeviceLog> {

    IPage<DeviceLog> queryDeviceLogConditions0(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions1(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions2(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions3(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions4(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions5(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions6(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions7(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions8(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    IPage<DeviceLog> queryDeviceLogConditions9(@Param("startTime") Long startTime, @Param("endTime") Long endTime, @Param("imei") String imei, @Param("messageType") String messageType, @Param("type") String type, @Param("page") Page<DeviceLog> page);

    Integer addDevice0(DeviceLog deviceLog);

    Integer addDevice1(DeviceLog deviceLog);

    Integer addDevice2(DeviceLog deviceLog);

    Integer addDevice3(DeviceLog deviceLog);

    Integer addDevice4(DeviceLog deviceLog);

    Integer addDevice5(DeviceLog deviceLog);

    Integer addDevice6(DeviceLog deviceLog);

    Integer addDevice7(DeviceLog deviceLog);

    Integer addDevice8(DeviceLog deviceLog);

    Integer addDevice9(DeviceLog deviceLog);


    Integer deleteDeviceLog0ByTime(@Param("time") long time);

    Integer deleteDeviceLog1ByTime(@Param("time") long time);

    Integer deleteDeviceLog2ByTime(@Param("time") long time);

    Integer deleteDeviceLog3ByTime(@Param("time") long time);

    Integer deleteDeviceLog4ByTime(@Param("time") long time);

    Integer deleteDeviceLog5ByTime(@Param("time") long time);

    Integer deleteDeviceLog6ByTime(@Param("time") long time);

    Integer deleteDeviceLog7ByTime(@Param("time") long time);

    Integer deleteDeviceLog8ByTime(@Param("time") long time);

    Integer deleteDeviceLog9ByTime(@Param("time") long time);
}
